<?php
//msg
define("msg_warn",1);
define("msg_kick",2);
define("msg_bomb",3);
define("msg_lock",4);
define("msg_login",5);
define("msg_logout",6);
define("msg_leave",7);
define("msg_call",8);
define("msg_changeroom",9);
define("msg_rank",10);
define("msg_unforbid",11);
define("msg_forbid",12);
define("msg_unlock",13);
define("msg_clear",14);
define("msg_warning_out",15);
define("msg_grade",16);
define("msg_ungrade",17);
define("msg_protec",18);
define("msg_unprotec",19);
//event type
define("type_user",0);
define("type_system",1);
//notice
define("not_login",101);
define("not_allow_word",102);
define("in_chat",103);
define("password_wrong",104);
define("success",105);
define("admin_password_wrong",106);
define("logout_ok",107);
define("iskicked",108);
define("verify_error",109);
define("cant_visit",110);
define("admin_only",111);
define("admin_verify_error",112);
define("hack_bomb",113);
define("admin_logout_ok",114);
define("action_not_define",115);
define("add_room_ok",116);
define("edit_room_ok",117);
define("delete_room_ok",118);
define("same_chatroom_name",119);
define("more_masters",120);
define("only_one_room",121);
define("is_been_locked",122);
define("is_locked",123);
define("locked_ip_ok",124);
define("always_lock_ip_ok",125);
define("unlock_ip_ok",126);
define("always_locked",127);
define("forbid_ok",128);
define("cant_find_user",129);
define("unforbid_ok",130);
define("protected_ok",131);
define("unprotected_ok",132);
define("is_forbid",133);
define("upgrade_ok",134);
define("unupgrade_ok",135);
define("edit_password_ok",136);
define("edit_rank_ok",137);
define("optimize_ok",138);
define("repair_ok",139);
define("cant_changeroom",140);
define("chatroom_full",141);
define("room_notexists",142);
define("room_full",143);
define("chatroom_closed",144);
define("name_too_long",145);
define("name_too_short",146);
define("password_too_short",147);
define("chatroom_not_inuse",148);
define("editinfo_ok",149);
define("user_password_error",150);
define("viewlog_error",151);
define("cant_write_guestbook",152);
define("write_taxis_ok",153);
define("cant_delete_guestbook",154);
define("delete_geustbook_ok",155);
define("admin_login_lost",156);
define("locked_ip_fail",157);
//logtype
define("logtype_manage",1);
define("logtype_error",2);
define("logtype_grade",3);
define("logtype_names",4);
define("logtype_login",5);
?>